package com.linln.modules.system.repository;

import com.linln.modules.system.domain.PatientBirthSituationEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

public interface RPatientBirthSituationRepository extends JpaRepository<PatientBirthSituationEntity,Long> {
    public PatientBirthSituationEntity findByBah(String bah);
    public List<PatientBirthSituationEntity> findAllByBah(String bah);
    public PatientBirthSituationEntity findByBahAndCyrq(String bah, Date cyrq);
}
